package com.matt.service;

import com.matt.commons.dto.sso.StaffDTO;
import com.matt.domain.ChildrenHealthBaseInfo;
import com.matt.foundation.query.ChildrenQuery;
import com.matt.foundation.query.HealthQuery;
import com.matt.foundation.vo.ChildChildrenHealthListVo;
import com.matt.foundation.vo.ChildrenHealthListVo;
import org.springframework.data.domain.Page;

import java.util.Map;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/11/1
 * *******************************
 */
public interface ChildrenHealthService {

    Page<ChildChildrenHealthListVo> getChildChildrenHealthPage(ChildrenQuery childrenQuery);

    Page<ChildrenHealthListVo> getChildrenHealthPage(HealthQuery healthQuery);

    Map findHealthInfoDetail(StaffDTO staff, String id);

    void addHealthInfo(ChildrenHealthBaseInfo childrenHealthBaseInfo, String childrenId, String height, String weight);

    void modifyHealthInfo(ChildrenHealthBaseInfo childrenHealthBaseInfo, String height, String weight);

    ChildrenHealthBaseInfo findById(String id);
}
